consume

Inspects the error of the result, if any, for errors of a particular type

NOTE: this performs actions on Entry, not ErrorEntry. Entry is a container stored within most error entries containing content information only.

Author

fzzyhmstrs

Since

0.7.0

Parameters

C

error content type

t

ErrorEntry.Type<C> the error type. If you don't need a particular type (to report errors for example), use the other overload

c

Consumer<ErrorEntry.Entry<C>> accepts matching entries


Inspects the error of the result, if any, for errors of a particular type

NOTE: this performs actions on Entry, not ErrorEntry. Entry is a container stored within most error entries containing content information only.

Author

fzzyhmstrs

Since

0.7.0

Parameters

c

Consumer<ErrorEntry.Entry> accepts all entries within the results ErrorEntry